package pack2;
import pack1.Test1;

public class Test3 {

    public static void main(String[] args) {

        //不同一包下，default和protected皆不可访问
        Test1 tt = new Test1();
        int public_ = tt.public_;
        tt.publicMethod();

    }
}
